package services;

import models.dao.StaffDAO;
import models.entities.Staff;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StaffMgr {
	@Autowired
	StaffDAO staffDAO;
	
	public Staff getStaffByCode(String code) throws Exception {
		return staffDAO.getStaffByCode(code);
	}
}
